package cjq.demo.thread.ch4_3;

/**
 * Created by Administrator on 2016/4/27.
 */
public class Main {
    public static void main(String[] args) {
        Server server = new Server();
        for (int i = 0; i < 19; i++) {
            Task task = new Task("Task "+i);
            server.executeTask(task);
        }
        server.endServer();
    }
}
